package com.emergency.db.domain.nuclear;

import com.emergency.base.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonIgnore;

import javax.persistence.*;

//安全壳状态表
@Entity
@Table(name = "bas_nuclear_shell")
public class Shell extends BaseEntity {
    private double hydrogen;//安全壳内平均氢气浓度

    private double steam;//安全壳内水蒸汽浓度

    private double avgTemp;//安全壳内平均温度

    private double avgPress;//安全壳内平均压力

    private double inWallTemp;//安全壳内壁面平均温度

    private double outWallTemp;//安全壳外壁面平均温度

    private double inWallPress;//安全壳内壁面平均压力

    private double outWallPress;//安全壳外壁面平均压力

    private double radioSpeed;//安全壳破口处放射性源项释放速率

    private double radioTime;//安全壳破口处放射性源项释放时间 秒

    private double radioStrong;//安全壳破口处放射性源项释放强度

    @JsonIgnore
    @OneToOne(targetEntity = NuclearInside.class, fetch = FetchType.LAZY)
    @JoinColumn(name = "inside_id", referencedColumnName = "id")
    private NuclearInside inside;

    public double getHydrogen() {
        return hydrogen;
    }

    public void setHydrogen(double hydrogen) {
        this.hydrogen = hydrogen;
    }

    public double getSteam() {
        return steam;
    }

    public void setSteam(double steam) {
        this.steam = steam;
    }

    public double getAvgTemp() {
        return avgTemp;
    }

    public void setAvgTemp(double avgTemp) {
        this.avgTemp = avgTemp;
    }

    public double getAvgPress() {
        return avgPress;
    }

    public void setAvgPress(double avgPress) {
        this.avgPress = avgPress;
    }

    public double getInWallTemp() {
        return inWallTemp;
    }

    public void setInWallTemp(double inWallTemp) {
        this.inWallTemp = inWallTemp;
    }

    public double getOutWallTemp() {
        return outWallTemp;
    }

    public void setOutWallTemp(double outWallTemp) {
        this.outWallTemp = outWallTemp;
    }

    public double getInWallPress() {
        return inWallPress;
    }

    public void setInWallPress(double inWallPress) {
        this.inWallPress = inWallPress;
    }

    public double getOutWallPress() {
        return outWallPress;
    }

    public void setOutWallPress(double outWallPress) {
        this.outWallPress = outWallPress;
    }

    public double getRadioSpeed() {
        return radioSpeed;
    }

    public void setRadioSpeed(double radioSpeed) {
        this.radioSpeed = radioSpeed;
    }

    public double getRadioTime() {
        return radioTime;
    }

    public void setRadioTime(double radioTime) {
        this.radioTime = radioTime;
    }

    public double getRadioStrong() {
        return radioStrong;
    }

    public void setRadioStrong(double radioStrong) {
        this.radioStrong = radioStrong;
    }

    public NuclearInside getInside() {
        return inside;
    }

    public void setInside(NuclearInside inside) {
        this.inside = inside;
    }
}
